(Only custom events shown here)
- Browse
Event Browse(ByVal Name As String, _
ByVal Index As Integer, _
FillWith As String)
Fires when the user clicks the Browse button of
an item.
Parameters:
Name
The string that is displayed in the left-hand
side of the property list.
Index
The index of the item whose Browse button
was clicked.
FillWith
Change this string to what you want the
new value of the property to be. Usually
this is a filename, picture, or font name.
- KeyPressEdit
Event KeyPressEdit(KeyAscii As
Integer(
Occurs when the user presses a key in
the property list's edit field.
Parameters:
KeyAscii
The ANSI code of the key which
was pressed.
- NeedData
Event NeedData(ByVal Index As Integer, _
ListItems() As String)
Fires when the the property list needs the list
of string values you want for an ExPropCustomValue
item.
Parameters:
Index
The index of the item to get the values
for.
ListItems()
An empty array of strings. ReDim the array
to the number of list items you want and
set each array element to the desired values
to make available to the user.
- Scroll
Event Scroll()
Fires when the propertylist's
scrollbar changes in position.
- SelChange
Event SelChange(OldSel As Integer, _
NewSel As Integer)
Fires when the user changes the
current selection in the propertylist.
Parameters:
OldSel
The index of the item that was
selected before the change.
NewSel
The index of the item that is
now selected.
- ValueChanged
Event ValueChanged(ByVal Name As String, _
ByVal Index As Integer, _
ByVal NewValue As String, _
Cancel As Boolean)
Fires when the property list control is about to
commit the changes that a user made to a property.
Parameters:
Name
The string that is displayed in the left-hand
side of the property list.
Index
The index of the item whose value
was changed.
NewValue
The string that the user attempted to
assign to the property.
Cancel
When the ValueChanged event is fired
this parameter is False. Changing it
to True will prevent the user's changes
from taking effect.